<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags"  prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
* {
	margin: 0;
	padding: 0;
}

.showTitle {
	background: url(/tmx//images/bg_title.png) repeat-x;
	width: 100%;
	height: 30px;
	color: #fff;
	font-size: 12px;
	line-height: 30px;
	text-indent: 10px;
}

.showTitle span {
	font-weight: bold;
}

.bg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 30px;
	left: 0;
	z-index: 9;
}

.bg img {
	display: block;
	width: 100%;
	height: 100%;
	border: none;
}
.lon2 {
	width: 12%;
	border-left: 1px solid #000;
}
.showAdmin {
	width: 90%;
	height: 34px;
	line-height: 30px;
	background: url(/tmx//images/item_bottom.png) repeat-x;
	background-position: bottom left;
	position: absolute;
	top: 40px;
	left: 5%;
	color: #3a7932;
	z-index: 99;
	font-size: 12px;
	font-weight: bold;
	text-indent: 15px;
}

.showAdmin span {
	position: absolute;
	right: 20px;
}

.laugh {
	background: url(/tmx/images/xiao.png) no-repeat scroll 0 0;
	opacity: 0.7;
	filter: alpha(opacity = 70);
	position: absolute;
	top: 150px;
	left: 50%;
	width: 172px;
	height: 172px;
	margin-left: -86px;
	z-index: 999;
}
.content {
	width: 90%;
	position: absolute;
	top: 80px;
	left: 5%;
	color: #3a7932;
	z-index: 99;
	font-size: 12px;
	background: #f2f2f2;
	padding: 10px;
	border: 1px solid #000;
	padding-bottom: 30px;
	min-width: 780px;
}

.content table {
	border-color: #999999;
	font-weight: bold;
	color: #666;
}

.btn button {
	width: 80px;
	height: 25px;
	text-align: center;
	line-height: 24px;
	margin-left: 10px;
	font-weight: 700;
}

th, td {
	text-align: center;
	background-color: #fff;
	height: 35px;
}

td select {
	width: 200px;
	border: 1px solid #ccc;
	height: 25px;
}

td .timeInput {
	border: 1px solid #ccc;
	width: 120px;
	height: 20px;
}

.al {
	text-align: left;
	padding-left: 5px;
}

td img {
	vertical-align: middle;
	margin-left: 5px;
	width: 25px;
	height: 20px;
	margin-top: -3px;
}

.b {
	background-color: #f2f2f2;
}

.bot {
	border-bottom: 1px solid #000;
	border-left: 1px solid #000;
	width: 9%;
}

.shot {
	width: 9%;
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
}

.no {
	border-left: none;
}

.lon {
	width: 19%;
	border-left: 1px solid #000;
}

.last td {
	border-bottom: none;
}

.ed a {
	color: #39F;
	text-decoration: none;
}

.page {
	width: 100%;
	height: 35px;
	line-height: 35px;
	text-align: center;
	background: #f2f2f2;
	color: #444;
	border-top: 1px solid #000;
}

.page a {
	margin-left: 10px;
	text-decoration: none;
	color: #444;
}

.shotInput {
	width: 40px;
	height: 20px;
	margin-left: 5px;
}

.page .go {
	width: 30px;
	height: 22px;
	margin-left: 5px;
}
</style>
<script>
	function showLeftTime() {
		var now = new Date();
		var year = now.getFullYear();
		var month = now.getMonth()+1;
		var day = now.getDate();
		var hour = now.getHours();
		week = now.getDay();
		switch (week) {
		case 0:
			val = "星期天";
			break
		case 1:
			val = "星期一";
			break
		case 2:
			val = "星期二";
			break
		case 3:
			val = "星期三";
			break
		case 4:
			val = "星期四";
			break
		case 5:
			val = "星期五";
			break
		case 6:
			val = "星期六";
			break
		}
		
		if(hour >= 6 && hour<12){
			document.getElementById("wel").innerHTML = "早上好";
		}else if(hour >=12 && hour<17){
			document.getElementById("wel").innerHTML = "下午好";
		}else if(hour >=17){
			document.getElementById("wel").innerHTML = "晚上好";
		}
		document.getElementById("timeShow").innerHTML = "今天是： " + year + "年" + month + "月" + day + "日 " + "     " + val;
		//一秒刷新一次显示时间
		var timeID = setTimeout(showLeftTime, 1000);
	}
	window.onload = function() {
		showLeftTime();
	}
</script>
<script type="text/javascript" src="/tmx/js/jquery-1.8.1.min.js"></script>
<script language="javascript" type="text/javascript"
	src="/tmx/js/My97DatePicker/WdatePicker.js"></script>

</head>

<body>
	<div class="showTitle">
		<span>当前位置：</span>首页
	</div>
	<div class="bg">
		<img src="/tmx/images/bg.png" />
	</div>
	<div class="showAdmin">
		<b id="wel"></b>，${session.admin.name }<span id="timeShow">今天是：2014年10月19日 星期三</span>
	</div>
</body>
</html>

